#!/user/bin/env python3
# -*- coding: utf-8 -*-
"""
--------------------------------------
    Author:     JiChao_Song
    Date  :     2020/12/10 15:28
    Desc  :
--------------------------------------
"""
import re


class PhoneCheckUtils:
    """
    手机号码格式校验
    """

    def __init__(self, phone):
        self.phone = phone

    def phone_check(self):
        ret = re.match(r"^1[35678]\d{9}$", self.phone)

        return ret


def test(*args, **kwargs):
    data = {
        "test": 123456,
        "phone": 123456,
    }

    if type(data) is dict:
        print('pass')

    for i in args:
        if data.get(i) is not None:
            data.pop(i)

    print(data)

if __name__ == '__main__':
    test("test")
